home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
ab20
/
utilitys
/
disk
/
snopdos1.lzh
/
src
/
makefile
next >
Wrap
Makefile
|
1991-01-27
|
799b
|
41 lines
#
# Lattice LKM makefile, for Lattice C V5.04 :ts=8
#
# SnoopDos (C) Copyright Eddy Carroll, May 1990
#
CFLAGS = -cusq -j88i -ms -v # -d5
BFLAGS = sc sd nd map ram:map
#BFLAGS = addsym
LIBS = lib:lc.lib lib:amiga.lib
ASM = lc:asm
#START = lib:c.o
START = tiny.o
.c.o:
lc $(CFLAGS) -Hsystem.sym $*.c
.a.o:
$(ASM) -isys:include/ -u $*.a # Prefix all symbols with C-style _
.s.o:
$(ASM) -isys:include/ $*.s # Standard "pure" assembly
.n.doc:
nro >$*.doc -ms:an $*.n
.h.sym:
lc1 -ph -o$*.sym $*.h
#
# Makefile dependencies
#
all: snoopdos
OBJS = tiny.o snoopdos.o snoopglue.o res.o
snoopdos: $(OBJS)
blink from $(OBJS) to SnoopDos $(BFLAGS) lib $(LIBS)
system.sym: system.h
tiny.o: tiny.a
snoopdos.o: snoopdos.c system.sym
snoopglue.o: snoopglue.s
res.o: res.s